package com.yager.model;

import lombok.AllArgsConstructor;

import java.io.Serializable;


public class House implements Serializable {
    private String houseid;

    private String housename;

    private Integer houseprice;

    private String userid;

    private String houseimages;

    private String housetype;

    private Integer housesize;

    private String housedescription;

    private String housefuniture;

    private Integer houseage;

    private Boolean housestatus;

    private String houseaddress;

    private static final long serialVersionUID = 1L;

    public String getHouseid() {
        return houseid;
    }

    public void setHouseid(String houseid) {
        this.houseid = houseid;
    }

    public String getHousename() {
        return housename;
    }

    public void setHousename(String housename) {
        this.housename = housename;
    }

    public Integer getHouseprice() {
        return houseprice;
    }

    public void setHouseprice(Integer houseprice) {
        this.houseprice = houseprice;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getHouseimages() {
        return houseimages;
    }

    public void setHouseimages(String houseimages) {
        this.houseimages = houseimages;
    }

    public String getHousetype() {
        return housetype;
    }

    public void setHousetype(String housetype) {
        this.housetype = housetype;
    }

    public Integer getHousesize() {
        return housesize;
    }

    public void setHousesize(Integer housesize) {
        this.housesize = housesize;
    }

    public String getHousedescription() {
        return housedescription;
    }

    public void setHousedescription(String housedescription) {
        this.housedescription = housedescription;
    }

    public String getHousefuniture() {
        return housefuniture;
    }

    public void setHousefuniture(String housefuniture) {
        this.housefuniture = housefuniture;
    }

    public Integer getHouseage() {
        return houseage;
    }

    public void setHouseage(Integer houseage) {
        this.houseage = houseage;
    }

    public Boolean getHousestatus() {
        return housestatus;
    }

    public void setHousestatus(Boolean housestatus) {
        this.housestatus = housestatus;
    }

    public String getHouseaddress() {
        return houseaddress;
    }

    public void setHouseaddress(String houseaddress) {
        this.houseaddress = houseaddress;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", houseid=").append(houseid);
        sb.append(", housename=").append(housename);
        sb.append(", houseprice=").append(houseprice);
        sb.append(", userid=").append(userid);
        sb.append(", houseimages=").append(houseimages);
        sb.append(", housetype=").append(housetype);
        sb.append(", housesize=").append(housesize);
        sb.append(", housedescription=").append(housedescription);
        sb.append(", housefuniture=").append(housefuniture);
        sb.append(", houseage=").append(houseage);
        sb.append(", housestatus=").append(housestatus);
        sb.append(", houseaddress=").append(houseaddress);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    public House(String houseid, String housename, Integer houseprice, String userid, String houseimages, String housetype, Integer housesize, String housedescription, String housefuniture, Integer houseage, Boolean housestatus, String houseaddress) {
        this.houseid = houseid;
        this.housename = housename;
        this.houseprice = houseprice;
        this.userid = userid;
        this.houseimages = houseimages;
        this.housetype = housetype;
        this.housesize = housesize;
        this.housedescription = housedescription;
        this.housefuniture = housefuniture;
        this.houseage = houseage;
        this.housestatus = housestatus;
        this.houseaddress = houseaddress;
    }

    public House() {
    }
}